bitkeeper revision 1.1159.53.10 (412f2ba7civqPBzGAWhK9meDyFJljw)
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Fri, 27 Aug 2004 12:40:07 +0000 (12:40 +0000)
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Fri, 27 Aug 2004 12:40:07 +0000 (12:40 +0000)
We now build the 2.6 linux kernel by default. If you still want 2.4, either set LINUX_RELEASE=2.4 or use the 'make linux24' target.

Makefile

index dace27825d841cc9875bfc6c235dfa0f4d41815c..971c25760314314712f027e8f00f1bb6cdf2f726 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ dist: all
        $(MAKE) linux-xenU
        $(MAKE) linux-xen0
 
-LINUX_RELEASE    ?= 2.4
+LINUX_RELEASE    ?= 2.6
 LINUX_VER        ?= $(shell ( /bin/ls -ld linux-$(LINUX_RELEASE).*-xen-sparse ) 2>/dev/null | \
                      sed -e 's!^.*linux-\(.\+\)-xen-sparse!\1!' )
 LINUX26_VER      ?= $(shell ( /bin/ls -ld linux-2.6.*-xen-sparse ) 2>/dev/null | \
@@ -123,6 +123,12 @@ linux26:
        $(MAKE) LINUX_RELEASE=2.6 config-xen0
        $(MAKE) LINUX_RELEASE=2.6 linux-xen0
 
+linux24:
+       $(MAKE) LINUX_RELEASE=2.4 mk-linux-trees
+       $(MAKE) LINUX_RELEASE=2.4 config-xenU
+       $(MAKE) LINUX_RELEASE=2.4 linux-xenU
+       $(MAKE) LINUX_RELEASE=2.4 config-xen0
+       $(MAKE) LINUX_RELEASE=2.4 linux-xen0
 
 clean: delete-symlinks
        $(MAKE) -C xen clean